package com.inspur.cloud.entity.dataspace.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "Kafka新增和编辑对象")
public class KafkaAddVO {
    @ApiModelProperty(value = "本资源ID，编辑或删除、分配的时候需要")
    private Integer resourceId;
    @ApiModelProperty(value = "主题名")
    private String topicName;
    @ApiModelProperty(value = "分区数")
    private Integer partitionNum;
    @ApiModelProperty(value = "副本数")
    private Integer replication;

    @ApiModelProperty(value = "权限字段，以|隔开，比如 read|write，需要是小写")
    private String powerList;
    @ApiModelProperty(value = "资源类型，1公共2私有，默认公共")
    private Integer type;
}
